<!--页面作为layer的弹窗，由于使用了content：1的类型。参数过多-->
<div class="row">
    <div class="col-sm-12">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <h5>打印预览</h5>
            </div>

            <div class="ibox-content">
                <div id="page" class="text-center"></div>
                <div class="row btn-group-m-t">
                    <#button btnCss="info" name="打印当前页" id="ensure" icon="fa-check" clickFun="printCurr()"/>
                    <#button btnCss="info" name="批量打印" id="cancel" icon="fa-eraser" clickFun="printAll()"/>
                </div>
                <div id="seniorWishList">
                    @for(examinee in examineeList!){
                    <div id="seniorWish${examineeLP.index}" class="vc-wrap senior-wish-info">
                        <div class="voluntary-confirmation">
                            <div class="confirmmation-title">
                                <h1>2018年苏州吴中区中考招生志愿填报确认表</h1>
                                <h2>2018-06-01</h2>
                            </div>
                            <div class="confirm-infor">
                                <ul>
                                    <li>
                                        <p>准考证号:<span>${examinee.examCardNumber}</span></p>
                                    </li>
                                    <li>
                                        <p>姓名:<span>${examinee.studentName}</span></p>
                                    </li>
                                    <li>
                                        <p>性别:<span>${examinee.gender}</span></p>
                                    </li>
                                    <li>
                                        <p>所在班级:<span>${examinee.seniorClassName}</span></p>
                                    </li>
                                </ul>
                                <ul>
                                    <li>
                                        <p>所属学校:<span>${examinee.seniorSchoolName}</span></p>
                                    </li>

                                    <li style="float: right;">
                                        <p>确认状态:
                                            <span>
                                                ${constant.getDictByCodeAndValue("confirm_status",examinee.confirmStatus).name}
                                            </span></p>
                                    </li>
                                    <li style="float: right;">
                                        <p>填报状态:
                                            <span>${constant.getDictByCodeAndValue("write_status",examinee.writeStatus).name}
                                            </span></p>
                                    </li>
                                </ul>
                            </div>
                            <div class="confirm-table">
                                <table>
                                    <tbody>
                                    <tr>
                                        <td colspan="2">
                                            录取批次
                                        </td>
                                        <td>
                                            志愿序号
                                        </td>
                                        <td>
                                            录取性质
                                        </td>
                                        <td>
                                            报考院校
                                        </td>
                                        <td colspan="2">
                                            报考专业
                                        </td>
                                        <td>
                                            服从其他专业
                                        </td>
                                    </tr>
                                    <tr>
                                        <td colspan="2">
                                            提前录取(师范)
                                        </td>
                                        <td>
                                            --
                                        </td>
                                        <td>
                                            统招
                                        </td>
                                        <td>
                                            ${isEmpty(examinee.seniorWish)?"":examinee.seniorWish.batch1School1Name}
                                        </td>
                                        <td style="width:6%">--</td>
                                        <td>--</td>
                                        <td>
                                            --
                                        </td>
                                    </tr>
                                    <tr>
                                        <td rowspan="3">
                                            指标生录取
                                        </td>
                                        <td>
                                            一阶段
                                        </td>
                                        <td>
                                            --
                                        </td>
                                        <td>
                                            指标生
                                        </td>
                                        <td>
                                            ${isEmpty(examinee.seniorWish)?"":examinee.seniorWish.batch2School1Name!}
                                        </td>
                                        <td>
                                            --
                                        </td>
                                        <td>
                                            --
                                        </td>
                                        <td>
                                            --
                                        </td>
                                    </tr>
                                    <tr>
                                        <td rowspan="2">
                                            二阶段
                                        </td>
                                        <td>
                                            A
                                        </td>
                                        <td>
                                            指标生
                                        </td>
                                        <td>
                                            ${isEmpty(examinee.seniorWish)?"":examinee.seniorWish.batch13School1Name!}
                                        </td>
                                        <td>
                                            --
                                        </td>
                                        <td>
                                            --
                                        </td>
                                        <td>
                                            --
                                        </td>
                                    </tr>
                                    <tr>
                                        <!--<td rowspan="2">二阶段</td>-->
                                        <td>
                                            B
                                        </td>
                                        <td>
                                            指标生
                                        </td>
                                        <td>
                                            ${isEmpty(examinee.seniorWish)?"":examinee.seniorWish.batch13School2Name!}
                                        </td>
                                        <td>
                                            --
                                        </td>
                                        <td>
                                            --
                                        </td>
                                        <td>
                                            --
                                        </td>
                                    </tr>
                                    <tr>
                                        <td colspan="2">
                                            提前录取(普高)
                                        </td>
                                        <td>
                                            --
                                        </td>
                                        <td>
                                            统招
                                        </td>
                                        <td>
                                            ${isEmpty(examinee.seniorWish)?"":examinee.seniorWish.batch3School1Name!}
                                        </td>
                                        <td>
                                            --
                                        </td>
                                        <td>
                                            --
                                        </td>
                                        <td>
                                            --
                                        </td>
                                    </tr>
                                    <tr>
                                        <td rowspan="5">
                                            第一批录取
                                        </td>
                                        <td rowspan="3">
                                            一阶段(普高)
                                        </td>
                                        <td>
                                            A
                                        </td>
                                        <td>
                                            统招
                                        </td>
                                        <td>
                                            ${isEmpty(examinee.seniorWish)?"":examinee.seniorWish.batch4School1Name!}
                                        </td>
                                        <td>
                                            --
                                        </td>
                                        <td>
                                            --
                                        </td>
                                        <td>
                                            --
                                        </td>
                                    </tr>
                                    <tr>
                                        <!--<td></td>-->
                                        <td>
                                            B
                                        </td>
                                        <td>
                                            统招
                                        </td>
                                        <td>
                                            ${isEmpty(examinee.seniorWish)?"":examinee.seniorWish.batch4School2Name!}
                                        </td>
                                        <td>
                                            --
                                        </td>
                                        <td>
                                            --
                                        </td>
                                        <td>
                                            --
                                        </td>
                                    </tr>
                                    <tr>
                                        <!--<td></td>-->
                                        <td>
                                            C
                                        </td>
                                        <td>
                                            统招
                                        </td>
                                        <td>
                                            ${isEmpty(examinee.seniorWish)?"":examinee.seniorWish.batch4School3Name!}
                                        </td>
                                        <td>
                                            --
                                        </td>
                                        <td>
                                            --
                                        </td>
                                        <td>
                                            --
                                        </td>
                                    </tr>
                                    <tr>
                                        <td colspan="1" rowspan="2">
                                            二阶段(3+4)
                                        </td>
                                        <td>
                                            A
                                        </td>
                                        <td>
                                            统招
                                        </td>
                                        <td>
                                            ${isEmpty(examinee.seniorWish)?"":examinee.seniorWish.batch5School1Name!}
                                        </td>
                                        <td>
                                            专业
                                        </td>
                                        <td>
                                            ${isEmpty(examinee.seniorWish)?"":examinee.seniorWish.batch5School1Major1Name!}
                                        </td>
                                        <td></td>
                                    </tr>
                                    <tr>
                                        <td >
                                            B
                                        </td>
                                        <td >
                                            统招
                                        </td>
                                        <td >
                                            ${isEmpty(examinee.seniorWish)?"":examinee.seniorWish.batch5School2Name!}
                                        </td>
                                        <td >
                                            专业
                                        </td>
                                        <td >
                                            ${isEmpty(examinee.seniorWish)?"":examinee.seniorWish.batch5School2Major1Name!}
                                        </td>
                                        <td>
                                            --
                                        </td>
                                    </tr>
                                    <tr>
                                        <td rowspan="2" colspan="2">
                                            第二批录取
                                        </td>
                                        <td>
                                            A
                                        </td>
                                        <td>
                                            统招
                                        </td>
                                        <td>
                                            ${isEmpty(examinee.seniorWish)?"":examinee.seniorWish.batch6School1Name!}
                                        </td>
                                        <td>
                                            --
                                        </td>
                                        <td>
                                            --
                                        </td>
                                        <td>
                                            --
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            B
                                        </td>
                                        <td>
                                            统招
                                        </td>
                                        <td>
                                            ${isEmpty(examinee.seniorWish)?"":examinee.seniorWish.batch6School2Name!}
                                        </td>
                                        <td>
                                            --
                                        </td>
                                        <td>
                                            --
                                        </td>
                                        <td>
                                            --
                                        </td>
                                    </tr>
                                    <tr>
                                        <td rowspan="1" colspan="2">
                                            第三批录取(对口单招)
                                        </td>
                                        <td>
                                            --
                                        </td>
                                        <td>
                                            统招
                                        </td>
                                        <td>
                                            ${isEmpty(examinee.seniorWish)?"":examinee.seniorWish.batch7School1Name!}
                                        </td>
                                        <td>
                                            --
                                        </td>
                                        <td>
                                            --
                                        </td>
                                        <td>
                                            --
                                        </td>
                                    </tr>
                                    <tr>
                                        <td rowspan="19">
                                            第四批录取(省部属学校)
                                        </td>
                                        <td rowspan="2">
                                            艺术类提前录取
                                        </td>
                                        <td rowspan="2">
                                            --
                                        </td>
                                        <td rowspan="2">
                                            统招
                                        </td>
                                        <td rowspan="2">
                                            ${isEmpty(examinee.seniorWish)?"":examinee.seniorWish.batch8School1Name!}
                                        </td>
                                        <td>
                                            专业A
                                        </td>
                                        <td>
                                            ${isEmpty(examinee.seniorWish)?"":examinee.seniorWish.batch8School1Major1Name!}
                                        </td>
                                        <td rowspan="2">
                                            ${(isEmpty(examinee.seniorWish)||isEmpty(examinee.seniorWish.batch8School1MajorAllocateFlag))?""
                                            :examinee.seniorWish.batch8School1MajorAllocateFlag==1?"是":"否"}
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            专业B
                                        </td>
                                        <td>
                                            ${isEmpty(examinee.seniorWish)?"":examinee.seniorWish.batch8School1Major2Name!}
                                        </td>
                                    </tr><!-- A -->
                                    <tr>
                                        <td rowspan="16">
                                            五年制高职
                                            "3+3"现代职教试点项目
                                        </td>
                                        <td rowspan="5">
                                            A
                                        </td>
                                        <td rowspan="5">
                                            统招
                                        </td>
                                        <td rowspan="5">
                                            ${isEmpty(examinee.seniorWish)?"":examinee.seniorWish.batch9School1Name!}
                                        </td>
                                        <td>
                                            专业A
                                        </td>
                                        <td>
                                            ${isEmpty(examinee.seniorWish)?"":examinee.seniorWish.batch9School1Major1Name!}
                                        </td>
                                        <td rowspan="5">
                                            ${(isEmpty(examinee.seniorWish)||isEmpty(examinee.seniorWish.batch9School1MajorAllocateFlag))?""
                                            :examinee.seniorWish.batch9School1MajorAllocateFlag==1?"是":"否"}
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            专业B
                                        </td>
                                        <td>
                                            ${isEmpty(examinee.seniorWish)?"":examinee.seniorWish.batch9School1Major2Name!}
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            专业C
                                        </td>
                                        <td>
                                            ${isEmpty(examinee.seniorWish)?"":examinee.seniorWish.batch9School1Major3Name!}
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            专业D
                                        </td>
                                        <td>
                                            ${isEmpty(examinee.seniorWish)?"":examinee.seniorWish.batch9School1Major4Name!}
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            专业E
                                        </td>
                                        <td>
                                            ${isEmpty(examinee.seniorWish)?"":examinee.seniorWish.batch9School1Major5Name!}
                                        </td>
                                    </tr><!-- B -->
                                    <tr>
                                        <td rowspan="5">
                                            B
                                        </td>
                                        <td rowspan="5">
                                            统招
                                        </td>
                                        <td rowspan="5">
                                            ${isEmpty(examinee.seniorWish)?"":examinee.seniorWish.batch9School2Name!}
                                        </td>
                                        <td>
                                            专业A
                                        </td>
                                        <td>
                                            ${isEmpty(examinee.seniorWish)?"":examinee.seniorWish.batch9School2Major1Name!}
                                        </td>
                                        <td rowspan="5">
                                            ${(isEmpty(examinee.seniorWish)||isEmpty(examinee.seniorWish.batch9School2MajorAllocateFlag))?""
                                            :examinee.seniorWish.batch9School2MajorAllocateFlag==1?"是":"否"}
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            专业B
                                        </td>
                                        <td>
                                            ${isEmpty(examinee.seniorWish)?"":examinee.seniorWish.batch9School2Major2Name!}
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            专业C
                                        </td>
                                        <td>
                                            ${isEmpty(examinee.seniorWish)?"":examinee.seniorWish.batch9School2Major3Name!}
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            专业D
                                        </td>
                                        <td>
                                            ${isEmpty(examinee.seniorWish)?"":examinee.seniorWish.batch9School2Major4Name!}
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            专业E
                                        </td>
                                        <td>
                                            ${isEmpty(examinee.seniorWish)?"":examinee.seniorWish.batch9School2Major5Name!}
                                        </td>
                                    </tr><!-- c -->
                                    <tr>
                                        <td rowspan="5">
                                            C
                                        </td>
                                        <td rowspan="5">
                                            统招
                                        </td>
                                        <td rowspan="5">
                                            ${isEmpty(examinee.seniorWish)?"":examinee.seniorWish.batch9School3Name!}
                                        </td>
                                        <td>
                                            专业A
                                        </td>
                                        <td>
                                            ${isEmpty(examinee.seniorWish)?"":examinee.seniorWish.batch9School3Major1Name!}
                                        </td>
                                        <td rowspan="5">
                                            ${(isEmpty(examinee.seniorWish)||isEmpty(examinee.seniorWish.batch9School3MajorAllocateFlag))?""
                                            :examinee.seniorWish.batch9School3MajorAllocateFlag==1?"是":"否"}
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            专业B
                                        </td>
                                        <td>
                                            ${isEmpty(examinee.seniorWish)?"":examinee.seniorWish.batch9School3Major2Name!}
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            专业C
                                        </td>
                                        <td>
                                            ${isEmpty(examinee.seniorWish)?"":examinee.seniorWish.batch9School3Major3Name!}
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            专业D
                                        </td>
                                        <td>
                                            ${isEmpty(examinee.seniorWish)?"":examinee.seniorWish.batch9School3Major4Name!}
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            专业E
                                        </td>
                                        <td>
                                            ${isEmpty(examinee.seniorWish)?"":examinee.seniorWish.batch9School3Major5Name!}
                                        </td>
                                    </tr>
                                    <tr>
                                        <td colspan="2">
                                            服从其他院校
                                        </td>
                                        <td>
                                            ${(isEmpty(examinee.seniorWish)||isEmpty(examinee.seniorWish.batch9SchoolAllocateFlag))?""
                                            :examinee.seniorWish.batch9SchoolAllocateFlag==1?"是":"否"}
                                        </td>
                                        <td>
                                            --
                                        </td>
                                        <td>
                                            --
                                        </td>
                                        <td>
                                            --
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            三四年制中专
                                        </td>
                                        <td colspan="2">
                                            --
                                        </td>
                                        <td>
                                            ${isEmpty(examinee.seniorWish)?"":examinee.seniorWish.batch10School1Name!}
                                        </td>
                                        <td>
                                            专业
                                        </td>
                                        <td>
                                            ${isEmpty(examinee.seniorWish)?"":examinee.seniorWish.batch10School1Major1Name!}
                                        </td>
                                        <td>
                                            --
                                        </td>
                                    </tr><!-- 第五批次 -->
                                    <tr>
                                        <td colspan="2" rowspan="3">
                                            第五批录取(市属中专、技工院校)
                                        </td>
                                        <td>
                                            A
                                        </td>
                                        <td>
                                            统招
                                        </td>
                                        <td>
                                            ${isEmpty(examinee.seniorWish)?"":examinee.seniorWish.batch11School1Name!}
                                        </td>
                                        <td>
                                            --
                                        </td>
                                        <td>
                                            --
                                        </td>
                                        <td>
                                            --
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            B
                                        </td>
                                        <td>
                                            统招
                                        </td>
                                        <td>
                                            ${isEmpty(examinee.seniorWish)?"":examinee.seniorWish.batch11School2Name!}
                                        </td>
                                        <td>
                                            --
                                        </td>
                                        <td>
                                            --
                                        </td>
                                        <td>
                                            --
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            C
                                        </td>
                                        <td>
                                            统招
                                        </td>
                                        <td>
                                            ${isEmpty(examinee.seniorWish)?"":examinee.seniorWish.batch11School3Name!}
                                        </td>
                                        <td>
                                            --
                                        </td>
                                        <td>
                                            --
                                        </td>
                                        <td>
                                            --
                                        </td>
                                    </tr><!-- 统配志愿 -->
                                    <tr>
                                        <td colspan="2" rowspan="4">
                                            统配录取(其他市属中专、技工院校)
                                        </td>
                                        <td>
                                            A
                                        </td>
                                        <td>
                                            统招
                                        </td>
                                        <td>
                                            ${isEmpty(examinee.seniorWish)?"":examinee.seniorWish.batch12School1Name!}
                                        </td>
                                        <td>
                                            --
                                        </td>
                                        <td>
                                            --
                                        </td>
                                        <td>
                                            --
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            B
                                        </td>
                                        <td>
                                            统招
                                        </td>
                                        <td>
                                            ${isEmpty(examinee.seniorWish)?"":examinee.seniorWish.batch12School2Name!}
                                        </td>
                                        <td>
                                            --
                                        </td>
                                        <td>
                                            --
                                        </td>
                                        <td>
                                            --
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            C
                                        </td>
                                        <td>
                                            统招
                                        </td>
                                        <td>
                                            ${isEmpty(examinee.seniorWish)?"":examinee.seniorWish.batch12School3Name!}
                                        </td>
                                        <td>
                                            --
                                        </td>
                                        <td>
                                            --
                                        </td>
                                        <td>
                                            --
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            D
                                        </td>
                                        <td>
                                            统招
                                        </td>
                                        <td>
                                            ${isEmpty(examinee.seniorWish)?"":examinee.seniorWish.batch12School4Name!}
                                        </td>
                                        <td>
                                            --
                                        </td>
                                        <td>
                                            --
                                        </td>
                                        <td>
                                            --
                                        </td>
                                    </tr>
                                    </tbody>
                                </table>
                            </div>
                            <div class="vc-note">
                                <p>家长签字:</p>
                                <p>考生签字:</p>
                            </div>
                        </div>
                    </div>
                    @}
                </div>
            </div>
        </div>
    </div>
</div>
<link rel="stylesheet" href="${ctxPath}/static/portal/css/reset.css">
<link rel="stylesheet" href="${ctxPath}/static/portal/css/main-zsb.css">
<script src="${ctxPath}/static/js/plugins/jquery-jqprint/jQuery.print.js"></script>
<script type="text/javascript">
    //执行一个laypage实例
    layui.laypage.render({
        elem: 'page',
        groups: 3,
        limit: 1,
        count:${examineeList.~size},
        layout: ['prev', 'page', 'next', 'skip'],
        jump: function (obj, first) {
            $(".senior-wish-info").hide();
            $("#seniorWish" + obj.curr).show();
        }
    });

    function printCurr() {
        $(".senior-wish-info:visible").print();
    }

    function printAll() {
        $("#seniorWishList").print();
    }


</script>
